projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3671f44
)
(widget-button-click): Move point to where clicked.
author
Karl Heuer
<kwzh@gnu.org>
Wed, 15 Oct 1997 23:57:19 +0000
(23:57 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Wed, 15 Oct 1997 23:57:19 +0000
(23:57 +0000)
lisp/wid-edit.el
patch
|
blob
|
history
diff --git
a/lisp/wid-edit.el
b/lisp/wid-edit.el
index 9052c77deae13618e70963b8f4eb679db7403f86..a2e484967702d8e60c385bd735497f15b612325e 100644
(file)
--- a/
lisp/wid-edit.el
+++ b/
lisp/wid-edit.el
@@
-922,8
+922,9
@@
Recommended as a parent keymap for modes using widgets.")
:group 'widget-faces)
(defun widget-button-click (event)
- "Invoke
button below mouse pointer
."
+ "Invoke
the button that the mouse is pointing at, and move there
."
(interactive "@e")
+ (mouse-set-point event)
(cond ((and (fboundp 'event-glyph)
(event-glyph event))
(widget-glyph-click event))